← Back to issue list

File conflicts between parts should include files with identical contents

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1989149
Type
issue
State
open
Author
~rpjday
Labels
Created
2022-09-08 21:22:14.202914+00:00
Updated
2022-09-08 21:22:14.202914+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Currently, when two parts in the same snapcraft.yaml file attempt to stage the same file at the same location, it's an error only if the files have different contents. I think this is dangerous -- at the very least, even if two conflicting files have the same contents, this should generate a warning, if not an outright error. It's unwise to depend on the unpredictability of the contents of two files, which might be identical for months, only to suddenly differ and start throwing build errors.

Evaluation history

No evaluation history available.